package com.example.datapedestal.utils.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: ThinkPad
 * @since: 2023/10/27 09:31
 * @description:
 */
@Getter
@AllArgsConstructor
public enum ResultCode {
    SUCCESS(200, "操作成功"),
    ERROR_ACCESS_FORBIDDEN(400, "参数错误"),
    ERROR_TOKEN_EXPIRED(404, "登录凭证已失效"),
    ERROR_PRIMARY_REPETITION(501,"数据重复"),
    ERROP(500,"系统错误");
    private final int code;
    private final String message;
}
